﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SQLite;

namespace TestMatrix.DataModel.Factory
{
    public class SQLiteDataSource : IDataSourceFactory
    {
        private SQLiteConnection _dbConn;

        public IDataSourceItem CreateDataSource()
        {
            _dbConn = DBHelper.getConnection();
            return new SQLiteDataSourceItem(_dbConn);
        }
    }
}
